package cn.com.maven.designpattern.proxy;

/**
 * @Author YongQiang
 * @Date 2021/5/19 16:32
 * @Version 1.0
 */
public class HuangNiu implements Organzation {
    private Official official = new Official();
    @Override
    public void shop() {
        collectFee();
        official.shop();
        sale();
    }

    private void collectFee(){
        System.out.println("收费");
    }
    private void sale(){
        System.out.println("转卖");
    }
}
